package com.malou.server;

import com.malou.client.MyService;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class MyServiceImpl extends RemoteServiceServlet implements MyService {

	private static final long serialVersionUID = 1L;

	@Override
	public Integer getUserSessionTimeout() {
		int timeout = getThreadLocalRequest().getSession().getMaxInactiveInterval() * 1000;
		
		return timeout;
	}
}
